package icom.acm.manager.mircblog;

import icom.acm.bean.mircblog.VIEW_USER_MESSAGE_REPLY;
import icom.acm.util.DBConnect;

import java.util.HashMap;
import java.util.Map;

public class View_User_Message_ReplyMgr {
	public View_User_Message_ReplyMgr(){}
	
	public VIEW_USER_MESSAGE_REPLY selectByMrid(DBConnect db, Integer id){
		VIEW_USER_MESSAGE_REPLY e = new VIEW_USER_MESSAGE_REPLY();
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("VUMR_MR_ID", id);
		String sql = e.toSqlSelectEqual(params);		
		db.prepareStatement(sql);
		db.excuteQuery();
		db.next();
		e.set(db);
		return e;
	}
}
